@keyframes myfirst
{
    from {
        transform: rotate(0deg);
      }
    to {
    transform: rotate(360deg);
    }

}
.rato{
    position: fixed;
    z-index: 99;
    margin: 50% 50%;
    transform-origin:50% 50%;
    animation: myfirst 1s linear infinite;
}